<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>用户登录</title>
    <!--<link rel='stylesheet' href='/stylesheets/style.css' />-->
    <link rel='stylesheet' href='bootstrap.css' />
    <link rel='stylesheet' href='bootstrap.min.css'>
    <script src="jquery-3.1.0.min.js"></script>
</head>
<body>
<h1>登录demo</h1>
<form action="/login" method="post" class="form-horizontal" role="form" style="width: 400px;">
    <div class="form-group">
        <label for="firstname" class="col-sm-4 control-label">账号：</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="account" name="username" placeholder="请输入账号">
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-4 control-label">密码：</label>
        <div class="col-sm-8">
            <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-4 col-sm-8">
            <button type="submit" class="btn btn-success">登录</button>
        </div>
    </div>
</form>
</body>

<script src="bootstrap.js"></script>
<script src="index.js"></script>
</html>
<!--http://blog.csdn.net/flygoa/article/details/52767076-->